<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <c:if test="${sessionScope.memberDTO==null && sessionScope.companyDTO==null && sessionScope.adminDTO==null }">
    	<jsp:include page="/jsp/login.jsp"/>
    </c:if>
    <c:if test="${sessionScope.memberDTO!=null || sessionScope.companyDTO!=null || sessionScope.adminDTO!=null }">
    	<jsp:include page="/WEB-INF/res/member/login_success.jsp"/>
    </c:if>
 
    <script type="text/javascript">
    
    function cupangChk(){
    	window.open("http://www.coupang.com/", "cupang","width=700px, height=500px,  menubar=yes, status=yes, realzable=yes, location=yes, scrollbars=yes, toolbar=yes, resizable=yes");
    }
    function timonChk(){
    	window.open("http://www.ticketmonster.co.kr/", "timon","width=700px, height=500px,  menubar=yes, status=yes, realzable=yes, location=yes, scrollbars=yes, toolbar=yes, resizable=yes");
    }
    function wemeChk(){
    	window.open("http://www.wemakeprice.com/", "weme","width=700px, height=500px,  menubar=yes, status=yes, realzable=yes, location=yes, scrollbars=yes, toolbar=yes, resizable=yes");
    }
    function groChk(){
    	window.open("http://www.groupon.kr/", "gro","width=700px, height=500px,  menubar=yes, status=yes, realzable=yes, location=yes, scrollbars=yes, toolbar=yes, resizable=yes");
    }
    function cumoChk(){
    	window.open("http://www.couponmoa.com/", "cumo","width=700px, height=500px,  menubar=yes, status=yes, realzable=yes, location=yes, scrollbars=yes, toolbar=yes, resizable=yes");
    }

    </script>

    <br>
 
    <hr>
    <b>● 소셜커머스 바로가기</b>
    <p>
	<a onclick="cupangChk()" style="cursor:pointer;"><img src="/${initParam.context_root }/image/쿠팡링크.png " width=130px	height=50px border=1 align="top" ></a><br><br>
	<img src="/${initParam.context_root }/image/티몬링크2.png " width=130px		height=50px border=1 align="top" onclick="timonChk()" style="cursor:pointer;"><br><br>
	<img src="/${initParam.context_root }/image/위메프링크.png " width=130px	height=50px border=1 align="top" onclick="wemeChk()" style="cursor:pointer;"><br><br>
	<img src="/${initParam.context_root }/image/그루폰링크.png " width=130px	height=50px border=1 align="top" onclick="groChk()" style="cursor:pointer;"><br><br>
	<img src="/${initParam.context_root }/image/쿠폰모아링크.png " width=130px	height=50px border=1 align="top" onclick="cumoChk()" style="cursor:pointer;"><br><br>
	 
	 <hr>
    <img src="/${initParam.context_root }/image/50dc.jpg " width=130px	height=80px border=2 align="top"><p>